package org.ctsi.rsds.service;

import org.ctsi.rsds.base.service.GenericServiceImpl;
import org.ctsi.rsds.dao.ResourceObjMapper;
import org.ctsi.rsds.pojo.ResourceObj;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by gaoyuchen on 14/10/29.
 * China Telecom System Integration Co., Ltd.
 */

@Transactional(readOnly = false)
@Service("resourceObjService")
public class ResourceObjServiceImpl extends GenericServiceImpl implements ResourceObjService {
	
    @Autowired
    private ResourceObjMapper resourceObjMapper;

    @Transactional(readOnly = true)
    @Override
    public ResourceObj findResObjByResObjId(String id) {
        return resourceObjMapper.findResObjByResObjId(id);
    }

}
